;
(function () {
  'use strict';
  angular.module('controllers.analysisSysOM.tradTime')
    .controller('avgTradTimeController', avgTradTimeController);

  function avgTradTimeController($scope, avgTradTimeService,COREDATA,$mdDialog) {
    $scope.avgTradTime = avgTradTimeService;
    $scope.exportUrl = COREDATA.FORMPREFIX + 'analysisSysOM/sysPerformance/tradTime/exportAvgTradTime';
    avgTradTimeService.initSelectMenu();
    //avgTradTimeService.search();
    $scope.$on('$destroy', function () {
      avgTradTimeService.reset();
      $mdDialog.hide();
    });
  }

  avgTradTimeController.$inject = ['$scope', 'avgTradTimeService','COREDATA','$mdDialog'];
})();